package com.CommunityHub.kiana.po;

import java.util.Date;

public class ServiceRecord {
    private Integer recordId;
    private Integer stewardId; // 关联User.id
    private Integer residenceId; // 关联ResidenceInfo.residenceId
    private String serviceType;
    private Date serviceTime;
    private Integer serviceDuration; // 服务时长(分钟)
    private Integer serviceStatus; // 0=进行中,1=完成

    // Getters and Setters

    public ServiceRecord() {
    }

    public ServiceRecord(Integer recordId, Integer stewardId, Integer residenceId, String serviceType, Date serviceTime, Integer serviceDuration, Integer serviceStatus) {
        this.recordId = recordId;
        this.stewardId = stewardId;
        this.residenceId = residenceId;
        this.serviceType = serviceType;
        this.serviceTime = serviceTime;
        this.serviceDuration = serviceDuration;
        this.serviceStatus = serviceStatus;
    }

    public Integer getRecordId() {
        return recordId;
    }

    public void setRecordId(Integer recordId) {
        this.recordId = recordId;
    }

    public Integer getStewardId() {
        return stewardId;
    }

    public void setStewardId(Integer stewardId) {
        this.stewardId = stewardId;
    }

    public Integer getResidenceId() {
        return residenceId;
    }

    public void setResidenceId(Integer residenceId) {
        this.residenceId = residenceId;
    }

    public String getServiceType() {
        return serviceType;
    }

    public void setServiceType(String serviceType) {
        this.serviceType = serviceType;
    }

    public Date getServiceTime() {
        return serviceTime;
    }

    public void setServiceTime(Date serviceTime) {
        this.serviceTime = serviceTime;
    }

    public Integer getServiceDuration() {
        return serviceDuration;
    }

    public void setServiceDuration(Integer serviceDuration) {
        this.serviceDuration = serviceDuration;
    }

    public Integer getServiceStatus() {
        return serviceStatus;
    }

    public void setServiceStatus(Integer serviceStatus) {
        this.serviceStatus = serviceStatus;
    }
}
